package com.hr.system.entity.vo;


import lombok.Data;

import java.util.Date;
import java.util.List;

@Data
public class MenuTree {
    private Integer id;
    //名称
    private String authName;
    //图标，仅菜单
    private String icon;
    //菜单的话就是路径或按钮的话就是权限
    private String path;
    //类型：1.菜单 2.按钮
    private Integer type;
    //上级id,针对菜单
    private Integer parentId;
    //针对菜单，组件路径
    private String component;
    //针对菜单，排序
    private Integer sort;
    //菜单等级
    private Integer level;
    //创建时间
    private Date ctime;
    //所属的孩子
    private List<MenuTree> children;
}
